package ar.com.gep.soccer.facade;

import java.util.List;

import ar.com.cdt.framework.business.bo.BusinessObject;
import ar.com.cdt.framework.core.pager.Page;
import ar.com.cdt.framework.core.pager.ResultSet;
import ar.com.gep.soccer.exception.TeamBusinessException;
import ar.com.gep.soccer.services.dto.TeamDTO;

public interface TeamFacade extends BusinessObject {

	List<TeamDTO> getAllTeams() throws TeamBusinessException;

	TeamDTO getTeamById(final Long id) throws TeamBusinessException;

	void saveTeam(final TeamDTO teamDTO) throws TeamBusinessException;

	void updateTeam(final TeamDTO teamDTO) throws TeamBusinessException;

	ResultSet<TeamDTO> getAllTeams(final Page page) throws TeamBusinessException;

}
